home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15204 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: netnews.hinet.net!news
  2. From: terry@ms1.hinet.net (Chen Tai-Wei)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: MSDOS commands via Visual C++
  5. Date: Thu, 04 Apr 1996 06:03:04 GMT
  6. Organization: KMC Psychology Department
  7. Message-ID: <316365bd.2178531@netnews.hinet.net>
  8. References: <4jvfc2$l21@jupiter.planet.net>
  9. NNTP-Posting-Host: 168.95.124.248
  10. X-Newsreader: Forte Agent .99d/32.182
  11.  
  12. On Thu, 04 Apr 1996 03:25:18 GMT, ajs@planet.net (A.J. Saveriano)
  13. wrote:
  14.  
  15. >I was wondering how you issue MSDOS commands via a C++ program?
  16. >I'd like to get a DIR of a directory on my drive and then manipulate
  17. >the files - such as renaming them, deleting them and moving them.
  18.  
  19. I think you can use the routine function system() to do that.
  20.  
  21. ---
  22. // Depression is an attribute of an object. Since protected by the 
  23. // private keyword, it still can be accessed by some method which 
  24. // is public or friend. It will be derived by the inheritance. And 
  25. // you can't find any destructors forever.
  26. // Copyright (C++) 1971-96 by Chen Tai-Wei, terry@ms1.hinet.net
  27.